package com.yida.gwj.deposit.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author lqq
 * @date 2022-11-15
 */
@ApiModel("签署意见日志详情")
public class GwjBusinessLogDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("业务步骤")
	private Long stepId;

	@ApiModelProperty("操作结果:0:保存,1:提交,2:回退;3送件;4审核通过;5完结")
	private Integer result;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("受理开始时间")
	private Date acceptTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty("受理结束时间")
	private Date endTime;

	@ApiModelProperty("审批意见")
	private String content;

	@ApiModelProperty("办理人员")
	private String operName;

	public void setResult(Integer result) {
		this.result = result;
	}

	public Integer getResult() {
		return result;
	}

	public void setAcceptTime(Date acceptTime) {
		this.acceptTime = acceptTime;
	}

	public Date getAcceptTime() {
		return acceptTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public String getOperName() {
		return operName;
	}

	public void setOperName(String operName) {
		this.operName = operName;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("GwjBusinessLogDTO{");
		sb.append("stepId=").append(stepId);
		sb.append(", result=").append(result);
		sb.append(", acceptTime=").append(acceptTime);
		sb.append(", endTime=").append(endTime);
		sb.append(", content='").append(content).append('\'');
		sb.append(", operName='").append(operName).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
